package com.example.mapper;

import com.example.pojo.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.RespBean;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hx
 * @since 2021-10-08
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Department> getAllDepartments(Integer parentId);

    void addDepartment(Department dep);

    void deleteDep(Department dep);
}
